package com.takeaway.utils

import java.util.*

class OrderObserable private constructor(): Observable() {

    fun newMsgComing() {
        // 获取消息。发送所有的观察者
        setChanged()
        notifyObservers()
    }

    companion object {
        val instance = OrderObserable()
    }
}